package com.ruoyi.develop.factory.factoryGongxu.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检验工序对象 factory_gongxu
 *
 * @author qh
 * @date 2024-11-06
 */
public class FactoryGongxu extends BaseEntity {
private static final long serialVersionUID=1L;

    /** 主键 */
    private String id;

    /** 删除标志 */
    private String delFlag;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String name;

    /** 工序说明 */
    @Excel(name = "工序说明")
    private String shuoming;

    /** 工序文件 */
    @Excel(name = "工序文件")
    private String file;

    /** 工序图纸 */
    @Excel(name = "工序图纸")
    private String photo;

    /** 工序状态（0正常 1停用） */
    @Excel(name = "工序状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 工序编码 */
    @Excel(name = "工序编码")
    private String code;

    /** 所属工艺 */
    @Excel(name = "所属工艺")
    private String haveGongyi;

    /** 是否质检（0正常 1停用） */
    @Excel(name = "是否质检", readConverterExp = "0=正常,1=停用")
    private String isZhijian;

    /** 准备时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "准备时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date readyDate;

    /** 生产时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "生产时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date prodDate;

    /** 生产结束时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "生产结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    /** 质检时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "质检时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date zhijianDate;

    /** 工时价格 */
    @Excel(name = "工时价格")
    private BigDecimal money;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setShuoming(String shuoming)
            {
            this.shuoming = shuoming;
            }

    public String getShuoming()
            {
            return shuoming;
            }
    public void setFile(String file)
            {
            this.file = file;
            }

    public String getFile()
            {
            return file;
            }
    public void setPhoto(String photo)
            {
            this.photo = photo;
            }

    public String getPhoto()
            {
            return photo;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setCode(String code)
            {
            this.code = code;
            }

    public String getCode()
            {
            return code;
            }
    public void setHaveGongyi(String haveGongyi)
            {
            this.haveGongyi = haveGongyi;
            }

    public String getHaveGongyi()
            {
            return haveGongyi;
            }
    public void setIsZhijian(String isZhijian)
            {
            this.isZhijian = isZhijian;
            }

    public String getIsZhijian()
            {
            return isZhijian;
            }
    public void setReadyDate(Date readyDate)
            {
            this.readyDate = readyDate;
            }

    public Date getReadyDate()
            {
            return readyDate;
            }
    public void setProdDate(Date prodDate)
            {
            this.prodDate = prodDate;
            }

    public Date getProdDate()
            {
            return prodDate;
            }
    public void setEndDate(Date endDate)
            {
            this.endDate = endDate;
            }

    public Date getEndDate()
            {
            return endDate;
            }
    public void setZhijianDate(Date zhijianDate)
            {
            this.zhijianDate = zhijianDate;
            }

    public Date getZhijianDate()
            {
            return zhijianDate;
            }
    public void setMoney(BigDecimal money)
            {
            this.money = money;
            }

    public BigDecimal getMoney()
            {
            return money;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("delFlag",getDelFlag())
            .append("name",getName())
            .append("shuoming",getShuoming())
            .append("file",getFile())
            .append("photo",getPhoto())
            .append("status",getStatus())
            .append("code",getCode())
            .append("haveGongyi",getHaveGongyi())
            .append("isZhijian",getIsZhijian())
            .append("readyDate",getReadyDate())
            .append("prodDate",getProdDate())
            .append("endDate",getEndDate())
            .append("zhijianDate",getZhijianDate())
            .append("money",getMoney())
            .append("remark",getRemark())
        .toString();
    }
}
